import React from 'react'
import { BellOutline } from 'antd-mobile-icons'
import { useNavigate } from 'react-router-dom'
import { NavBar, Space, Toast } from 'antd-mobile'

function Index() {
    const navigate = useNavigate()
    const tx = localStorage.getItem('headPic')
  return (
    <div>
       <NavBar onBack={() => navigate(-1)} style={{ height: "60px" }}
        left={<img src={tx} style={{ width: '40px', height: '40px', borderRadius: '50%' }} />}
        right={<BellOutline style={{ fontSize: '30px' }} />}></NavBar>
    </div>
  )
}

export default Index
